﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Empires.CRL.DataContract;

namespace Empires.PL.Web.Models
{
    public class ContactModel : BaseModel
    {
        [Required]
        public string Appellaction { get; set; }
        public string Contact { get; set; }
        public string Title { get; set; }
        [Required]
        public string Message { get; set; }
    }
    public class RegisterModel : BaseModel
    {
        public string username { get; set; }
        public string password { get; set; }
        public string nickname { get; set; }
        public string appellaction { get; set; }
        public int sex { get; set; }
        public string birthday { get; set; }
        public string contact { get; set; }
        public string address { get; set; }
        public string opensite { get; set; }
    }
}